/*
 * CS_REQ_SKILL_BUFF.cpp
 *
 *  Created on: 2013. 5. 21.
 *      Author: the2
 */

#include "../../User.h"
#include "../../NLogic/Function.h"
#include "CS_REQ_SKILL_BUFF.h"

#include <ctime>

namespace ProjectZ { namespace NCommand { namespace NAbility {


void CS_REQ_SKILL_BUFF::OnExecute(User * pUser, ::Network::Packet * pPacket)
{
	PREPARE_PACKET;

	uint32_t u32gid;

	* pPacket >> u32gid;

	if (pUser->GetUserSeq() != static_cast<int>(u32gid))
	{
		DEBUGLOG("CS_REQ_SKILL_BUFF pUser->GetUserSeq() != static_cast<int>(u32gid)");
		return;
	}

	NLogic::NFunction::SendSkillBuff(pUser);


	//pUser->UpdateSkillBuff();
}

} /*NWorld*/ } /*NCommand*/ } /*ProjectZ*/
